﻿CREATE TABLE [dbo].[Recipient] (
    [ExplicitAddressScheme]       VARCHAR (500) NULL,
    [Value]                       VARCHAR (500) NULL,
    [Id]                          INT           IDENTITY (1, 1) NOT NULL,
    [EmergencyMessageContainerId] INT           NOT NULL
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Potential recipient of emergency messages contained in an emergency message container.', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Recipient';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Distribution address schema used.', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Recipient', @level2type = N'COLUMN', @level2name = N'ExplicitAddressScheme';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Addressees value associated with the explicit address schema', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Recipient', @level2type = N'COLUMN', @level2name = N'Value';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Unique identifier generated by the database management system', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Recipient', @level2type = N'COLUMN', @level2name = N'Id';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Reference to the associated emergency message container', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'Recipient', @level2type = N'COLUMN', @level2name = N'EmergencyMessageContainerId';

